Skip to main content
Feedback

Installing JCE Unlimited Strength Jurisdiction policy files

The Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files are required to use PGP encryption and may be required by some connectors on Java 7.

Important

Previously, JCE jurisdiction files had to be downloaded and installed separately to allow policy files to be used by the JDK. For versions of Java 8 or newer, you no longer need to install the policy file in the JRE or set the security property crypto.policy. Beginning with installations or upgrades of runtimes that use the Java 8 JDK or newer, JCE Unlimited Strength Jurisdiction policy files are enabled by default. If you are using Java 8, you should not need these instructions to succesfully install the jurisdiction policy files. The instructions on this page still apply for earlier versions of Java.

For runtimes on an earlier version of Java prior to Java 8, complete the following steps to install JCE Unlimited Strength Jurisdiction policy files. Or, upgrade your Basic runtime, runtime cluster, or Cloud to use the most recent version of Java 8.

  1. Download the files and instructions for Java 7.

  2. Locate the jre\lib\security\java.security directory for the Java instance that the runtime is using.

    An example location is: C:\Program Files\Java\jre8\lib\security\java.security.

  3. Remove the following .jar files from this directory: local_policy.jar and US_export_policy.jar.

  4. Replace these two files with the .jar files included in the JCE Unlimited Strength Jurisdiction Policy Files download.

  5. Stop and restart the runtime.